adrift in (thoughts)

Translations
беспомощный в (мыслях)
She was adrift in her thoughts during the lecture.
Она была беспомощной в своих мыслях во время лекции.